from basic.class20_log.loger_handler2 import LoggerHandler

logger = LoggerHandler(name='python', file='demo.txt')
# todo 如果不一样，生成多个log文件时，查不到出错原因
def demo2():
    logger.info('demo2')

if __name__ == '__main__':
    demo2()